export default {
  methods: {
    onSort({ order, prop }) {
      !order && (order = 0);
      this.apiSetting.data.orderColNo = this.sortColumn.indexOf(prop) + 1;
      this.apiSetting.data.orderType = order === "ascending" ? 1 : 2;
      this.loadData();
    }
  }
};
